package com.gzjh_group.photoalbum;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.blankj.utilcode.util.BarUtils;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class MainActivity extends AppCompatActivity {

    @BindView(R.id.btnToAlbum)
    Button btnToAlbum;

    @OnClick(R.id.btnToAlbum)
    public void onClick(View view){
        switch (view.getId()){
            case R.id.btnToAlbum:
                Intent intent = new Intent();
                intent.setClass(MainActivity.this, PhotoActivity.class);
                startActivity(intent);
                break;
        }
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        ButterKnife.bind(this);
    }

}
